﻿using BJ.AuthEntity.Models;
using BJ.AuthEntity.ViewModels;
using Syspetro.Core.AppDeal;
using Syspetro.Core.DbAccessor;
using Syspetro.Core.SysInterface;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace BJ.AuthDomain.IService
{
    public interface IAdminUserService : IEntityBaseService<AdminUser>, ITransientService
    {
        Task<Guid> AddUserAsync(VM_User_Add user_Add);
        Task<int> AddUsersAsync(List<VM_User_Add> user_Add);
        Task<VM_User> GetUserFull(Guid id);
        Task<PageList<VM_User>> FindUsersFull(VM_User_PageReq pageReq);
        Task<VM_User> UserSearch(VM_User_Search search);
        Task<List<VM_User>> GetAdminList(Guid? roleId);
        Task<bool> Verify(string account);
    }
}
